package com.dyava.dycache.redis;

/**
 * Created by jjliu on 2020/4/9.
 */
public class RedisCacheWrap {

    public static class Fields{
        public static final String data="data";
        public static final String expireAt="expireAt";
        public static final String version="version";
    }

    String data;
    long expireAt;
    String version;

    public RedisCacheWrap() {
    }

    public RedisCacheWrap(String data, long expireAt, String version) {
        this.data = data;
        this.expireAt = expireAt;
        this.version = version;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public long getExpireAt() {
        return expireAt;
    }

    public void setExpireAt(long expireAt) {
        this.expireAt = expireAt;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
